package com.shycloud.mido.music.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;
import lombok.Data;

@ApiModel(value = "com-shycloud-mido-music-domain-MisMusicMemberStar")
@Data
@TableName(value = "mis_music_member_star")
public class MisMusicMemberStar {

	/** 主键 ID */
	@TableId(value = "id", type = IdType.UUID)
	@ApiModelProperty(value = "主键 ID")
	private String id;
	/** 曲目 ID */
	@TableField(value = "music_id")
	@ApiModelProperty(value = "曲目 ID")
	private Integer musicId;
	/** 曲目名称(方便查看用) */
	@TableField(value = "music_name")
	@ApiModelProperty(value = "曲目名称(方便查看用)")
	private String musicName;
	/** 用户 ID */
	@TableField(value = "member_id")
	@ApiModelProperty(value = "用户 ID")
	private String memberId;
	/** 勤奋星（普通星）数量 */
	@TableField(value = "hardworking_star")
	@ApiModelProperty(value = "勤奋星（普通星）数量")
	private Integer hardworkingStar;
	/** 满分星（彩星）数量 */
	@TableField(value = "full_mark_star")
	@ApiModelProperty(value = "满分星（彩星）数量")
	private Integer fullMarkStar;
	/** 分数 */
	@TableField(value = "score")
	@ApiModelProperty(value = "分数")
	private Integer score;
	/** 弹奏时间（用于显示周榜/月榜） */
	@TableField(value = "create_time")
	@ApiModelProperty(value = "弹奏时间（用于显示周榜/月榜）")
	private LocalDateTime createTime;
	/** 模式 */
	@TableField(value = "playing_mode")
	@ApiModelProperty(value = "弹奏模式 0-试听 1-识谱 2-纠错")
	private String playingMode;

	public static final String COL_ID = "id";

	public static final String COL_MUSIC_ID = "music_id";

	public static final String COL_MUSIC_NAME = "music_name";

	public static final String COL_MEMBER_ID = "member_id";

	public static final String COL_HARDWORKING_STAR = "hardworking_star";

	public static final String COL_FULL_MARK_STAR = "full_mark_star";

	public static final String COL_SCORE = "score";

	public static final String COL_CREATE_TIME = "create_time";
}